<template>
  <div id="app">
    <!-- keep-alive 防止路由销毁（切换页面后，又要重新创建那个组件） -->
    <!-- exclude="Detail" 排除这个 详情页要拿到新的数据 所以要销毁 -->
    <keep-alive exclude="Detail">
      <router-view />
    </keep-alive>
    <main-tab-bar />
  </div>
</template>

<script>
import MainTabBar from "components/content/mainTabbar/MainTabBar";

export default {
  name: "App",
  components: {
    MainTabBar,
  },
};
</script>

<style>
@import url("assets/css/base.css");
</style>
